package cn.edu.tju.elm.controller.dto;

import java.math.BigDecimal;

/**
 * 钱包转账请求DTO
 */
public class WalletTransferRequest {
    
    /**
     * 转出钱包ID
     */
    private Long fromWalletId;
    
    /**
     * 转入钱包ID
     */
    private Long toWalletId;
    
    /**
     * 转账金额
     */
    private BigDecimal amount;
    
    /**
     * 关联订单ID（可选）
     */
    private Long orderId;
    
    /**
     * 备注
     */
    private String remark;

    public WalletTransferRequest() {
    }

    public WalletTransferRequest(Long fromWalletId, Long toWalletId, BigDecimal amount, Long orderId, String remark) {
        this.fromWalletId = fromWalletId;
        this.toWalletId = toWalletId;
        this.amount = amount;
        this.orderId = orderId;
        this.remark = remark;
    }

    public Long getFromWalletId() {
        return fromWalletId;
    }

    public void setFromWalletId(Long fromWalletId) {
        this.fromWalletId = fromWalletId;
    }

    public Long getToWalletId() {
        return toWalletId;
    }

    public void setToWalletId(Long toWalletId) {
        this.toWalletId = toWalletId;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}

